package com.spring.demo.model.vo;

import java.io.Serializable;
import java.util.List;

public class ListView<T> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Long total;
	private List<T> rows;
	
	public ListView(){}
	
	public ListView(Long total,List<T> rows){
		this.total = total;
		this.rows = rows;
	}
	
	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}
}
